package com.maizhe.service;

import com.github.pagehelper.PageInfo;
import com.maizhe.entity.Customer;
import com.maizhe.entity.CustomerDrains;
import com.maizhe.entity.User;
import com.maizhe.entity.vo.UserVo;
import com.maizhe.util.JsonResult;

import java.util.List;
import java.util.Map;

public interface CustomerService {

    PageInfo<Customer> findAll(Customer customer,UserVo user);

    int delete(String id);

    Customer findById(String id);

    int savecustomer(Customer customer);

    List<Customer> findAll();
}
